package git.soulbgm.pojo;

import java.util.Date;

/**
 * 服务状态表
 *
 * @author SoulBGM
 * @date 2020-11-18 10:03:05
 */
public class ServiceStarting {

    /**
     * ID
     */
    private Long id;

    /**
     * 节点/设备编号
     */
    private Integer nodeCode;

    /**
     * 资源名称
     */
    private String resourceName;

    /**
     * 资源类型 1 monitor-agent 2 服务 3 第三方软件
     */
    private String resourceType;

    /**
     * 部署IP
     */
    private String deployIp;

    /**
     * 尝试启动时间
     */
    private Date startupTime;

    public ServiceStarting() {
    }

    public ServiceStarting(Integer nodeCode, String resourceName, String resourceType, String deployIp) {
        this.nodeCode = nodeCode;
        this.resourceName = resourceName;
        this.resourceType = resourceType;
        this.deployIp = deployIp;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getNodeCode() {
        return nodeCode;
    }

    public void setNodeCode(Integer nodeCode) {
        this.nodeCode = nodeCode;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    public String getDeployIp() {
        return deployIp;
    }

    public void setDeployIp(String deployIp) {
        this.deployIp = deployIp;
    }

    public Date getStartupTime() {
        return startupTime;
    }

    public void setStartupTime(Date startupTime) {
        this.startupTime = startupTime;
    }
}